(function () {
    "use strict";
    var e = {
        45017: function (e, t, a) {
            var l = a(6938), i = a(85500), o = a(55192);
            const n = {id: "content"}, r = ["src"], s = {class: "title-zf"}, c = ["src"], d = ["id"], u = ["id"];

            function p(e, t, a, l, p, g) {
                const m = (0, i.up)("NamePage"), h = (0, i.up)("el-tab-pane"), w = (0, i.up)("DescribePage"),
                    f = (0, i.up)("el-tabs"), y = (0, i.up)("el-drawer");
                return (0, i.wg)(), (0, i.iD)("div", n, [(0, i._)("div", {
                    onClick: t[0] || (t[0] = (...e) => l.onDrawer && l.onDrawer(...e)),
                    class: "zf-btn flex-box"
                }, [(0, i.Uk)((0, o.zw)(l.chromeGPT) + " ", 1), (0, i._)("img", {
                    src: l.getIconUrl("icon"),
                    alt: "",
                    class: "zf-title-icon",
                    style: {"margin-top": "10px"}
                }, null, 8, r)]), (0, i.Wm)(y, {
                    modelValue: l.drawer,
                    "onUpdate:modelValue": t[2] || (t[2] = e => l.drawer = e),
                    size: "670",
                    "with-header": !1,
                    direction: "rtl",
                    modal: "true",
                    "z-index": "1000011"
                }, {
                    default: (0, i.w5)((() => [(0, i._)("div", null, [(0, i._)("div", s, [(0, i._)("img", {
                        src: l.getIconUrl("icon"),
                        alt: "",
                        class: "zf-title-icon"
                    }, null, 8, c), (0, i.Uk)(" " + (0, o.zw)(l.chromeGPT), 1)]), (0, i.Wm)(f, {
                        modelValue: l.activeName,
                        "onUpdate:modelValue": t[1] || (t[1] = e => l.activeName = e),
                        onTabClick: l.handleClick,
                        class: "demo-tabs"
                    }, {
                        default: (0, i.w5)((() => [(0, i.Wm)(h, {
                            label: l.langWord.namePageTitle,
                            name: "name"
                        }, {
                            default: (0, i.w5)((() => [(0, i.Wm)(m)])),
                            _: 1
                        }, 8, ["label"]), (0, i.Wm)(h, {
                            label: l.langWord.descriptionGenerator,
                            name: "describe"
                        }, {default: (0, i.w5)((() => [(0, i.Wm)(w)])), _: 1}, 8, ["label"])])), _: 1
                    }, 8, ["modelValue", "onTabClick"])])])), _: 1
                }, 8, ["modelValue"]), l.isTitle ? ((0, i.wg)(), (0, i.iD)("div", {
                    key: 0,
                    class: "btn-enter-zf",
                    id: l.chromeGPT + "_zf-gpt-title",
                    onClick: t[3] || (t[3] = (...e) => l.onTitle && l.onTitle(...e))
                }, "Title Generator", 8, d)) : (0, i.kq)("", !0), l.isDescription ? ((0, i.wg)(), (0, i.iD)("div", {
                    key: 1,
                    class: "btn-enter-zf",
                    id: l.chromeGPT + "_zf-gpt-description",
                    onClick: t[4] || (t[4] = (...e) => l.onDescription && l.onDescription(...e))
                }, "Description Generator ", 8, u)) : (0, i.kq)("", !0)])
            }

            var g = a(25855), m = a(17792);
            const h = {class: "zf-chatGPT"}, w = {class: "zf-title"}, f = {class: "name-content"},
                y = {class: "name-btn", style: {"margin-bottom": "32px"}}, v = {class: "zf-title"},
                b = {key: 0, class: "dataFail"}, k = ["onClick"], z = {class: "flex_box name-btn"};

            function T(e, t, a, l, n, r) {
                const s = (0, i.up)("Keyword-Box"), c = (0, i.up)("el-button"), d = (0, i.up)("CircleClose"),
                    u = (0, i.up)("el-icon"), p = (0, i.up)("DocumentCopy"), g = (0, i.Q2)("loading");
                return (0, i.wg)(), (0, i.iD)("div", h, [(0, i._)("div", w, (0, o.zw)(l.langWord.currentTitle), 1), (0, i._)("div", f, (0, o.zw)(l.title), 1), (0, i.Wm)(s, {
                    onGetData: l.onGetData,
                    type: "name"
                }, null, 8, ["onGetData"]), (0, i._)("div", y, [(0, i.Wm)(c, {
                    type: "primary",
                    onClick: l.GenerateTitle,
                    loading: l.titleLoading
                }, {
                    default: (0, i.w5)((() => [(0, i.Uk)((0, o.zw)(l.langWord.namePageTitle), 1)])),
                    _: 1
                }, 8, ["onClick", "loading"])]), (0, i._)("div", v, (0, o.zw)(l.langWord.titleSuggestions), 1), (0, i._)("div", null, [((0, i.wg)(!0), (0, i.iD)(i.HY, null, (0, i.Ko)(l.titleArr, ((e, t) => (0, i.wy)(((0, i.wg)(), (0, i.iD)("div", {
                    class: "name-box-tips click-box",
                    key: t
                }, [(0, i._)("span", null, (0, o.zw)(e), 1), l.isDataFail ? ((0, i.wg)(), (0, i.iD)("div", b, [(0, i.Wm)(u, {color: "#969696"}, {
                    default: (0, i.w5)((() => [(0, i.Wm)(d)])),
                    _: 1
                }), (0, i.Uk)((0, o.zw)(l.langWord.creatingFail), 1)])) : (0, i.kq)("", !0), (0, i._)("div", {
                    class: (0, o.C_)(e ? "font-color-blue click-box copyBox" : "font-color-gray click-box copyBox"),
                    onClick: t => l.copyPath(e),
                    ref_for: !0,
                    ref: "copyBtn"
                }, [(0, i.Wm)(u, {
                    size: "12",
                    color: e ? "#2390FF" : "#969696"
                }, {
                    default: (0, i.w5)((() => [(0, i.Wm)(p)])),
                    _: 2
                }, 1032, ["color"]), (0, i.Uk)(" " + (0, o.zw)(l.langWord.copy), 1)], 10, k)])), [[g, l.titleLoading]]))), 128))]), (0, i._)("div", z, [(0, i.Wm)(c, {
                    onClick: t[0] || (t[0] = e => l.copyPath(String(l.titleArr))),
                    ref: "copyBtn",
                    style: {"margin-right": "10px"},
                    disabled: !l.titleArr[0] && !l.titleArr[1] && !l.titleArr[2]
                }, {
                    default: (0, i.w5)((() => [(0, i.Uk)((0, o.zw)(l.langWord.copyAll), 1)])),
                    _: 1
                }, 8, ["disabled"]), (0, i.Wm)(c, {
                    onClick: l.onExport,
                    disabled: !l.titleArr[0] && !l.titleArr[1] && !l.titleArr[2]
                }, {
                    default: (0, i.w5)((() => [(0, i.Uk)((0, o.zw)(l.langWord.exportAll), 1)])),
                    _: 1
                }, 8, ["onClick", "disabled"])])])
            }

            a(25096);
            const _ = {class: "zf-title"}, x = {class: "zf-title-tips"}, W = ["src"], C = {class: "zf-search"},
                D = {class: "flex_box zf-keyword"}, S = {class: "zf-title"}, P = {class: "zf-title-tips"}, U = ["src"],
                G = {class: "font-color-blue"}, j = {class: "zf-tag"}, A = {class: "flex_box zf-keyword"},
                I = {class: "zf-title"}, V = ["src"], L = {class: "font-color-blue"}, H = {key: 1, class: "click-box"},
                K = ["src"], O = {class: "font-color-gray"}, F = {style: {"min-height": "200px", width: "100%"}};

            function B(e, t, a, n, r, s) {
                const c = (0, i.up)("Search"), d = (0, i.up)("el-icon"), u = (0, i.up)("el-button"),
                    p = (0, i.up)("el-input"), g = (0, i.up)("Close"), m = (0, i.up)("el-tag"),
                    h = (0, i.up)("Table-data"), w = (0, i.Q2)("loading");
                return (0, i.wg)(), (0, i.iD)("div", null, [(0, i._)("div", _, [(0, i.Uk)((0, o.zw)(n.langWord.searchMainKeyword), 1), (0, i._)("span", x, [(0, i._)("img", {
                    src: n.getIconUrl("tips"),
                    alt: "",
                    class: "zf-tips-icon"
                }, null, 8, W), (0, i.Uk)(" " + (0, o.zw)(n.langWord.searchMainKeywordTip), 1)])]), (0, i._)("div", C, [(0, i.Wm)(p, {
                    modelValue: n.inputSearch,
                    "onUpdate:modelValue": t[0] || (t[0] = e => n.inputSearch = e),
                    placeholder: "Please input",
                    class: "input-with-select",
                    onKeyup: (0, l.D2)(n.onSearch, ["enter"])
                }, {
                    append: (0, i.w5)((() => [(0, i.Wm)(u, {
                        type: "primary",
                        onClick: n.onSearch
                    }, {
                        default: (0, i.w5)((() => [(0, i.Wm)(d, null, {
                            default: (0, i.w5)((() => [(0, i.Wm)(c)])),
                            _: 1
                        }), (0, i.Uk)((0, o.zw)(n.langWord.search), 1)])), _: 1
                    }, 8, ["onClick"])])), _: 1
                }, 8, ["modelValue", "onKeyup"])]), (0, i._)("div", D, [(0, i._)("div", null, [(0, i._)("span", S, (0, o.zw)(n.langWord.selectedKeywords), 1), (0, i._)("span", P, [(0, i._)("img", {
                    src: n.getIconUrl("tips"),
                    alt: "",
                    class: "zf-tips-icon"
                }, null, 8, U), (0, i.Uk)(" " + (0, o.zw)(n.langWord.selectedKeywordsTip), 1)])]), (0, i._)("div", {
                    class: "zf-clear-icon click-box",
                    onClick: t[1] || (t[1] = e => n.onClean())
                }, [(0, i.Wm)(d, {size: "12", color: "#2390FF"}, {
                    default: (0, i.w5)((() => [(0, i.Wm)(g)])),
                    _: 1
                }), (0, i._)("span", G, (0, o.zw)(n.langWord.clear), 1)])]), (0, i._)("div", j, [((0, i.wg)(!0), (0, i.iD)(i.HY, null, (0, i.Ko)(n.keywordTags, ((e, t) => ((0, i.wg)(), (0, i.j4)(m, {
                    key: e,
                    class: "mx-1",
                    closable: "",
                    "disable-transitions": !1,
                    onClose: t => n.handleClose(e),
                    type: t >= 4 ? "danger" : "info"
                }, {
                    default: (0, i.w5)((() => [(0, i.Uk)((0, o.zw)(e), 1)])),
                    _: 2
                }, 1032, ["onClose", "type"])))), 128)), n.inputVisible ? ((0, i.wg)(), (0, i.j4)(p, {
                    key: 0,
                    ref: "InputRef",
                    modelValue: n.inputValue,
                    "onUpdate:modelValue": t[2] || (t[2] = e => n.inputValue = e),
                    class: "ml-1 w-20",
                    size: "small",
                    onKeyup: t[3] || (t[3] = (0, l.D2)((e => n.handleInputConfirm()), ["enter"])),
                    onBlur: t[4] || (t[4] = e => n.handleInputConfirm()),
                    width: "80px",
                    placeholder: n.langWord.press
                }, null, 8, ["modelValue", "placeholder"])) : ((0, i.wg)(), (0, i.j4)(u, {
                    key: 1,
                    class: "button-new-tag ml-1",
                    size: "small",
                    onClick: t[5] || (t[5] = e => n.showInput())
                }, {
                    default: (0, i.w5)((() => [(0, i.Uk)(" + " + (0, o.zw)(n.langWord.add), 1)])),
                    _: 1
                }))]), (0, i._)("div", A, [(0, i._)("div", I, (0, o.zw)(n.langWord.recommendedKeywords), 1), n.back.value ? ((0, i.wg)(), (0, i.iD)("div", {
                    key: 0,
                    onClick: t[6] || (t[6] = (...e) => n.onBack && n.onBack(...e)),
                    class: "click-box"
                }, [(0, i._)("img", {
                    src: n.getIconUrl("back-blue"),
                    alt: "",
                    class: "zf-img"
                }, null, 8, V), (0, i._)("span", L, (0, o.zw)(n.langWord.back), 1)])) : ((0, i.wg)(), (0, i.iD)("div", H, [(0, i._)("img", {
                    src: n.getIconUrl("back-gray"),
                    alt: "",
                    class: "zf-img"
                }, null, 8, K), (0, i._)("span", O, (0, o.zw)(n.langWord.back), 1)]))]), (0, i.wy)(((0, i.wg)(), (0, i.iD)("div", F, [((0, i.wg)(), (0, i.j4)(h, {
                    tableData: n.tableData,
                    key: n.tableLoading,
                    onSearch: n.onTableSearch,
                    type: n.typeStr,
                    onAdd: n.onTableSelect
                }, null, 8, ["tableData", "onSearch", "type", "onAdd"]))])), [[w, n.tableLoading]])])
            }

            a(10082);
            var E = a(54148), N = a.n(E);
            const R = "https://etsyhunt.com", M = N().create({baseURL: R});
            M.interceptors.request.use((e => e), (e => Promise.reject(e))), M.interceptors.response.use((e => e.data), (e => Promise.reject(e)));
            const Z = e => -1 != e.indexOf("https://") ? M.get(e) : M.get(R + e), q = (e, t) => {
                if (t.baseURL) {
                    let a = t.baseURL;
                    return delete t.baseURL, M.post(a + e, t)
                }
                return M.post(e, t)
            };
            const Y = e => Z(`https://adtargeting.io/adtargeting/chrome/google-interests?${e}`),
                $ = e => q("https://findniche.com/ecommerce/aliexpress-plugin/optimize-question", e),
                J = e => q("https://findniche.com/ecommerce/aliexpress-plugin/optimize-task", e),
                Q = {style: {display: "flex", "align-items": "center"}}, X = ["onClick"];

            function ee(e, t, a, l, n, r) {
                const s = (0, i.up)("el-table-column"), c = (0, i.up)("echarts-box"), d = (0, i.up)("Search"),
                    u = (0, i.up)("el-icon"), p = (0, i.up)("el-button"), g = (0, i.up)("el-table");
                return (0, i.wg)(), (0, i.j4)(g, {
                    data: a.tableData,
                    style: {width: "100%", overflow: "auto"},
                    class: "zf-table"
                }, {
                    default: (0, i.w5)((() => [(0, i.Wm)(s, {
                        type: "index",
                        width: "50",
                        label: "#"
                    }), (0, i.Wm)(s, {
                        prop: "interest_name",
                        label: "Keyword",
                        width: "180"
                    }), (0, i.Wm)(s, {
                        label: "search Volume",
                        sortable: "",
                        "sort-by": "search_vol",
                        "sort-orders": ["descending", "ascending"],
                        prop: "search_vol",
                        align: "center",
                        width: "180"
                    }, {
                        default: (0, i.w5)((e => [(0, i.Wm)(c, {
                            keyword: e.row.interest_name,
                            data: e.row.trends,
                            type: l.typeStr,
                            search_vol: e.row.search_vol
                        }, null, 8, ["keyword", "data", "type", "search_vol"])])), _: 1
                    }), (0, i.Wm)(s, {
                        label: "CPC",
                        prop: "cpc",
                        sortable: "",
                        align: "center",
                        "sort-by": "cpc",
                        "sort-orders": ["descending", "ascending"],
                        width: "136"
                    }), (0, i.Wm)(s, {
                        label: "Pd",
                        sortable: "",
                        prop: "competition",
                        align: "center",
                        "sort-by": "competition",
                        "sort-orders": ["descending", "ascending"],
                        width: "136"
                    }, {
                        default: (0, i.w5)((e => [(0, i.Uk)((0, o.zw)(e.row.competition ? parseInt(100 * e.row.competition) : ""), 1)])),
                        _: 1
                    }), (0, i.Wm)(s, {
                        fixed: "right",
                        label: l.langWord.operate,
                        width: "80"
                    }, {
                        default: (0, i.w5)((e => [(0, i._)("div", Q, [(0, i._)("span", {onClick: t => l.onSearch(e.row.interest_name)}, [(0, i.Wm)(u, {
                            color: "#409EFC",
                            class: "click-box"
                        }, {
                            default: (0, i.w5)((() => [(0, i.Wm)(d)])),
                            _: 1
                        })], 8, X), (0, i.Wm)(p, {
                            onClick: t => l.onSelect(e.row.interest_name),
                            link: "",
                            type: "primary",
                            size: "small",
                            style: {"margin-left": "16px"}
                        }, {
                            default: (0, i.w5)((() => [(0, i.Uk)((0, o.zw)(l.langWord.pick), 1)])),
                            _: 2
                        }, 1032, ["onClick"])])])), _: 1
                    }, 8, ["label"])])), _: 1
                }, 8, ["data"])
            }

            const te = {class: "tags-google-trend-wraper"}, ae = ["id"], le = {class: "nub"};

            function ie(e, t, a, l, n, r) {
                return (0, i.wg)(), (0, i.iD)("div", te, [(0, i._)("div", {
                    id: l.typeStr + "-adt-" + a.keyword,
                    style: {height: "40px", width: "118px", top: "0", bottom: "0", position: "absolute"}
                }, null, 8, ae), (0, i._)("div", le, (0, o.zw)(a.search_vol ? l.getMillionNumber(a.search_vol) : ""), 1)])
            }

            const oe = e => {
                if (e) {
                    let t = Number(e), a = "";
                    return e >= 1e9 ? (t = (e / 1e9).toFixed(1), a = "B") : e >= 1e6 ? (t = (e / 1e6).toFixed(1), a = "M") : e >= 1e3 && (t = (e / 1e3).toFixed(1), a = "K"), (t + "").replace(/(\d{1,3})(?=(\d{3})+(?:$|\.))/g, "$1,") + a
                }
                return e
            };
            var ne = a(42218), re = {
                props: {
                    data: () => ({type: Array, default: []}),
                    keyword: () => ({type: String, default: ""}),
                    search_vol: () => ({type: String, default: ""}),
                    type: {type: String, default: () => ""}
                }, setup(e) {
                    const t = (0, m.iH)(!0), a = (0, m.iH)(e.type);
                    return (0, i.bv)((() => {
                        let a = [], l = [];
                        for (let t in e.data) a.push(e.data[t]), l.push(t);
                        let o = document.getElementById(e.type + "-adt-" + e.keyword), n = {
                            xAxis: {show: !1, data: l},
                            yAxis: {show: !1},
                            series: [{type: "bar", data: a, itemStyle: {color: "#409EFF"}}],
                            grid: {left: "5px", top: "5px", bottom: "5px"},
                            tooltip: {
                                trigger: "axis",
                                position: ["0%", "0%"],
                                axisPointer: {type: "shadow"},
                                backgroundColor: "rgba(0,0,0,0.3)",
                                formatter: function (e) {
                                    var t = "";
                                    return e.forEach((function (e) {
                                        t = '<span style="font-size:12px;font-weight:700;display:inline-block;margin-right:5px;border-radius:10px;color:#fff">' + e.name + ":" + oe(e.value) + "</span>"
                                    })), t
                                }
                            }
                        };
                        t.value = !1, (0, i.Y3)((() => {
                            if (o) {
                                let e = ne.S1(o);
                                e.setOption(n), window.addEventListener("resize", (function () {
                                    e.resize()
                                }), !0)
                            }
                        }))
                    })), {loading: t, typeStr: a, getMillionNumber: oe}
                }
            }, se = a(37068);
            const ce = (0, se.Z)(re, [["render", ie], ["__scopeId", "data-v-1eb61dc1"]]);
            var de = ce, ue = a(6374), pe = {
                cn: {
                    namePageTitle: "生成标题",
                    currentTitle: "当前标题",
                    searchMainKeyword: "搜索核心词",
                    searchMainKeywordTip: "核心词是您想搜索的最重要的核心关键词",
                    searchMainKeywordPlaceholder: "请输入要搜索的核心词",
                    search: "搜索",
                    selectedKeywords: "已选择的关键词",
                    selectedKeywordsTip: "选择下方推荐关键词，这些词将直接影响标题生成结果，建议4个词以内",
                    clear: "清除",
                    add: "添加",
                    press: "输入后回车确认",
                    back: "返回",
                    operate: "操作",
                    pick: "选择",
                    copy: "复制",
                    copyAll: "一键复制",
                    exportAll: "全部导出",
                    recommendedKeywords: "推荐关键词",
                    titleSuggestions: "标题建议",
                    creatingTitle: "正在努力生成中，预计3分钟，请耐心等待",
                    creatingFail: "生成失败，请重新生成",
                    limitedTip: "您的访问频率过高，请1分钟后再试",
                    descriptionGenerator: "生成描述",
                    referTitle: "参考商品标题",
                    referTitleTip: "开启后，生成结果将参考当前商品标题",
                    referDetails: "参考Details/Highlights",
                    referDetailsTip: "开启后，生成结果将参考当前商品的Details或Highlights",
                    referDescription: "参考当前描述",
                    referDescriptionTip: "开启后，生成结果将参考当前商品的描述",
                    referSplit: "分段",
                    referSplitTip: "如您需要生成结果有段落区分，请输入每一段落的段落名称（下方内容仅供参考）",
                    descriptionSuggestion1: "描述建议一",
                    descriptionSuggestion2: "描述建议二",
                    descriptionSuggestion3: "描述建议三",
                    chatgptTitle: "ChatGPT插件提示",
                    chatgptDescribe1: "您可能未登录ChatGPT 网页版或 ChatGPT 网页版登录已经失效",
                    chatgptDescribe2: "请登录 OpenAI 并通过 Cloudflare 检查。",
                    chatgptButton: "登录 OpenAI",
                    chatgptLoginDes: "登录 ChatGPT 网页版以使用插件功能.",
                    chatgptLoginSuccessTitle: "插件已经准备好了!",
                    chatgptLoginSuccessDes: "保持此选项卡打开以使 ChatGPT 更稳定。",
                    chatgptBackButton: "返回原页面"
                }, en: {
                    namePageTitle: "Title Generator",
                    currentTitle: "Current Title",
                    searchMainKeyword: "Search Main Keyword",
                    searchMainKeywordTip: "The main keyword is the most important keyword you want to search for.",
                    searchMainKeywordPlaceholder: "Please enter the main keyword to search for",
                    search: "Search",
                    selectedKeywords: "Selected Keywords",
                    selectedKeywordsTip: "Choose recommended keywords below. These words will affect the generated results.  Please use no more than 4 words.",
                    clear: "Clear",
                    add: "Add",
                    press: "Press enter to confirm",
                    back: "Back",
                    operate: "Operate",
                    pick: "Pick",
                    copy: "Copy",
                    copyAll: "Copy All",
                    exportAll: "Export All",
                    recommendedKeywords: "Recommended Keywords",
                    titleSuggestions: "Title Suggestions",
                    creatingTitle: "Creating title, it may take 3 minutes, please wait patiently",
                    creatingFail: "Creation failed, please try again",
                    limitedTip: "Your visit frequency is too high, please try again in 1 minute",
                    descriptionGenerator: "Description Generator",
                    referTitle: "Refer to Product Title",
                    referTitleTip: "When enabled, the generated result will refer to the current product title.",
                    referDetails: "Refer to Details/Highlights",
                    referDetailsTip: "When enabled, the generated result will refer to the current product details or highlights.",
                    referDescription: "Refer to Current Description",
                    referDescriptionTip: "When enabled, the generated result will refer to the current product description.",
                    referSplit: "Split into Paragraphs",
                    referSplitTip: "If you want the generated result to have paragraph distinctions, please enter the names of each paragraph (the following is for reference only).",
                    descriptionSuggestion1: "Description Suggestion 1",
                    descriptionSuggestion2: "Description Suggestion 2",
                    descriptionSuggestion3: "Description Suggestion 3",
                    chatgptTitle: "ChatGPT Plugin Tips",
                    chatgptDescribe1: "You may not be logged into the ChatGPT web version or the ChatGPT web version login has expired.",
                    chatgptDescribe2: "Log in to OpenAI and check with Cloudflare.",
                    chatgptButton: "Log in OpenAI",
                    chatgptLoginDes: "Log in to the ChatGPT web version to use the plug-in function.",
                    chatgptLoginSuccessTitle: "The plugin is ready!",
                    chatgptLoginSuccessDes: "Keep this tab open to make ChatGPT more stable.",
                    chatgptBackButton: "Back to original page"
                }, pl: {
                    namePageTitle: "Generator Tytułów",
                    currentTitle: "Aktualny Tytuł",
                    searchMainKeyword: "Wyszukaj Główne Słowo Kluczowe",
                    searchMainKeywordTip: "Główne słowo kluczowe to najważniejsze słowo kluczowe, które chcesz wyszukać.",
                    searchMainKeywordPlaceholder: "Wprowadź główne słowo kluczowe do wyszukania",
                    search: "Szukaj",
                    selectedKeywords: "Wybrane Słowa Kluczowe",
                    selectedKeywordsTip: "Wybierz zalecane słowa kluczowe poniżej. Słowa te wpłyną na generowane wyniki. Proszę użyć nie więcej niż 4 słów.",
                    clear: "Jasne",
                    add: "Dodać",
                    press: "Naciśnij enter, aby potwierdzić",
                    back: "Z Powrotem",
                    operate: "Działać",
                    pick: "Wybierać",
                    copy: "Kopiuj",
                    copyAll: "Skopiuj Wszystko",
                    exportAll: "Eksportuj Wszystko",
                    recommendedKeywords: "Zalecane Słowa Kluczowe",
                    titleSuggestions: "Propozycje Tytułów",
                    creatingTitle: "Tworzenie tytułu może potrwać 3 minuty, proszę cierpliwie czekać",
                    creatingFail: "Tworzenie nie powiodło się, spróbuj ponownie",
                    limitedTip: "Częstotliwość odwiedzin jest zbyt wysoka, spróbuj ponownie za 1 minutę",
                    descriptionGenerator: "Generator Opisów",
                    referTitle: "Patrz Tytuł Produktu",
                    referTitleTip: "Po włączeniu wygenerowany wynik będzie odnosił się do aktualnego tytułu produktu.",
                    referDetails: "Patrz Szczegóły/Najciekawsze Momenty",
                    referDetailsTip: "Po włączeniu wygenerowany wynik będzie odnosił się do aktualnych szczegółów produktu lub wyróżnień.",
                    referDescription: "Patrz Bieżący Opis",
                    referDescriptionTip: "Po włączeniu wygenerowany wynik będzie odnosił się do aktualnego opisu produktu.",
                    referSplit: "Podziel Na Akapity",
                    referSplitTip: "Jeśli chcesz, aby wygenerowany wynik zawierał rozróżnienia akapitów, wprowadź nazwy każdego akapitu (poniższe informacje mają jedynie charakter informacyjny).",
                    descriptionSuggestion1: "Opis Propozycja 1",
                    descriptionSuggestion2: "Opis Propozycja 2",
                    descriptionSuggestion3: "Opis Propozycja 3",
                    chatgptTitle: "ChatGPT zachęta do wtyczki",
                    chatgptDescribe1: "Być może nie jesteś zalogowany do internetowej wersji ChatGPT lub logowanie do internetowej wersji ChatGPT wygasło",
                    chatgptDescribe2: "Zaloguj się do OpenAI i sprawdź w Cloudflare.",
                    chatgptButton: "Zaloguj sie OpenAI",
                    chatgptLoginDes: "Zaloguj sie ChatGPT wersja internetowa do korzystania z funkcji wtyczki.",
                    chatgptLoginSuccessTitle: "Wtyczka jest gotowa!",
                    chatgptLoginSuccessDes: "Pozostaw tę kartę otwartą, aby ChatGPT był bardziej stabilny.",
                    chatgptBackButton: "powrót do oryginalnej strony"
                }
            }, ge = {
                components: {"echarts-box": de},
                props: {tableData: {type: Array, default: () => []}, type: {type: String, default: () => ""}},
                setup(e, t) {
                    const a = (0, ue.oR)(), l = (0, i.Fl)((() => pe[a.state.language])), o = (0, m.iH)(e.type),
                        n = e => {
                            t.emit("search", e)
                        }, r = e => {
                            t.emit("add", e)
                        };
                    return {langWord: l, typeStr: o, onSearch: n, onSelect: r}
                }
            };
            const me = (0, se.Z)(ge, [["render", ee], ["__scopeId", "data-v-6f00ea73"]]);
            var he = me, we = a(48670);
            const fe = () => {
                let e = document.getElementsByClassName("ph3 pb4 pt1")[0].outerText;
                e = e.replace("error:", ""), e = e.replace("We aim to show you accurate product information. Manufacturers, suppliers and others provide what you see here, and we have not verified it.  See our disclaimer", "");
                let t = {
                    website: "",
                    chromeGPTName: "WalmartGPT: ChatGPT for Walmart listing edit",
                    titleEnter: document.getElementsByClassName("b lh-copy dark-gray mt1 mb2 f3")[0],
                    describeEnter: document.getElementsByClassName("mt3 mb4 f4")[0],
                    chromeGPT: "WalmartGPT",
                    title: document.getElementsByClassName("b lh-copy dark-gray mt1 mb2 f3")[0].outerText.replace("Title Generator", ""),
                    highStr: "",
                    details: "",
                    describe: e,
                    tagsArr: "",
                    language: "English"
                };
                return t
            }, ye = () => {
                let e = window.location.host, t = !1;
                return -1 != e.indexOf("walmart.") ? -1 != document.location.pathname.indexOf("/ip/") && (t = !0) : "chat.openai.com" === e && (t = !0), t
            };
            var ve = {
                name: "Keyword-Box",
                components: {"Table-data": he},
                props: {type: {type: String, default: () => ""}},
                setup(e, t) {
                    const a = (0, m.iH)(""), l = (0, m.iH)([]), o = (0, m.iH)(""), n = (0, m.iH)(!1), r = (0, m.iH)(""),
                        s = (0, m.iH)([]), c = (0, m.iH)(!1), d = (0, m.iH)(""), u = (0, m.iH)(""), p = (0, m.iH)([]),
                        h = (0, m.iH)(e.type), w = (0, ue.oR)(), f = (0, i.Fl)((() => pe[w.state.language])),
                        y = e => g.runtime.getURL(`icon/${e}.svg`), v = (0, m.iH)({value: !1, data: []});
                    (0, i.bv)((() => {
                        let e = fe();
                        if (e.tagsArr && e.tagsArr.children.length) {
                            let a = [];
                            try {
                                e.tagsArr.children.forEach((e => {
                                    a.push(e.outerText)
                                }))
                            } catch (t) {
                                a.push(e.tagsArr)
                            }
                            u.value = a, u.value && P(u.value, "tags"), e.details.replace("We aim to show you accurate product information.", "")
                        }
                    }));
                    const b = () => {
                        a.value && (v.value = {value: !0, data: d.value}, d.value = a.value, P(a.value))
                    }, k = e => {
                        l.value.splice(l.value.indexOf(e), 1), t.emit("getData", l.value)
                    }, z = () => {
                        l.value = [], t.emit("getData", l.value)
                    }, T = () => {
                        n.value = !0, (0, i.Y3)((() => {
                            r.value.input.focus()
                        }))
                    }, _ = () => {
                        o.value && D(o.value), n.value = !1, o.value = ""
                    }, x = async () => {
                        v.value.data ? (await P(v.value.data), v.value.data = "", d.value = "") : u.value && await P(u.value), v.value.value = !1
                    }, W = e => {
                        a.value = e, v.value = {value: !0, data: d.value}, d.value = e, P(e)
                    }, C = e => {
                        D(e)
                    }, D = e => {
                        -1 == l.value.indexOf(e) && (l.value.push(e), t.emit("getData", l.value))
                    }, S = e => {
                        c.value = !0, Y(`keyword=${e}`).then((t => {
                            U(t, e)
                        }))
                    }, P = e => {
                        chrome.storage.local.get(["tags"], (t => {
                            if (t.tags) {
                                p.value = JSON.parse(t.tags);
                                let a = p.value.filter((t => t.keyword == e));
                                a[0] ? (s.value = a[0].data.pageData, c.value = !1) : S(e)
                            } else S(e)
                        }))
                    }, U = (e, t) => {
                        1e5 == e.code && e.data.pageData ? (s.value = e.data.pageData, p.value.unshift({
                            data: e.data,
                            keyword: t
                        }), p.value.length > 10 && (p.value = p.value.slice(0, 10)), chrome.storage.local.set({tags: JSON.stringify(p.value)}, (function () {
                        }))) : 100004 == e.code && (0, we.z8)({
                            message: f.value.limitedTip,
                            type: "error"
                        }), c.value = !1
                    };
                    return {
                        inputSearch: a,
                        keywordTags: l,
                        inputValue: o,
                        inputVisible: n,
                        InputRef: r,
                        tableData: s,
                        tableLoading: c,
                        back: v,
                        orginTags: u,
                        langWord: f,
                        typeStr: h,
                        onSearch: b,
                        getIconUrl: y,
                        handleClose: k,
                        handleInputConfirm: _,
                        showInput: T,
                        onBack: x,
                        onClean: z,
                        onTableSearch: W,
                        onTableSelect: C
                    }
                }
            };
            const be = (0, se.Z)(ve, [["render", B]]);
            var ke = be, ze = a(76479), Te = a(78253), _e = a.n(Te), xe = a(93604), We = a.n(xe), Ce = a(21059),
                De = a(1128), Se = a.n(De);
            const Pe = (e, t) => {
                We().getBinaryContent(t, (function (t, a) {
                    if (t) return;
                    let l = new (Se())(a), i = (new (_e())).loadZip(l);
                    i.setData({...e});
                    try {
                        i.render()
                    } catch (t) {
                        console.log("err")
                    }
                    let o = i.getZip().generate({
                        type: "blob",
                        mimeType: "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
                    });
                    (0, Ce.saveAs)(o, `${e.title || "WalmartGPT - eComm ChatGPT & AI Writer"}.docx`)
                }))
            };
            var Ue = {
                name: "name-page", components: {"Keyword-Box": ke}, setup() {
                    const e = (0, ue.oR)(), t = (0, i.Fl)((() => pe[e.state.language])), a = (0, m.iH)(""),
                        l = (0, m.iH)(["", "", ""]), o = (0, m.iH)([]), n = (0, m.iH)(!1), r = (0, m.iH)(!1);
                    let s = "English";
                    (0, i.bv)((() => {
                        try {
                            fe().then((e => {
                                a.value = e.title
                            }))
                        } catch (e) {
                            a.value = fe().title, s = fe().language
                        }
                    }));
                    const c = e => g.runtime.getURL(`icon/${e}.svg`), d = () => {
                        r.value = !1, l.value = ["", "", ""], n.value = !0;
                        let e = "Please generate 3 product titles and the number of characters for each title should be around 100 and no more than 140. No need to show the the number of characters.\r\n";
                        e += "And with old title for reference: `" + a.value.trim() + "`;\r\n", o.value.length > 0 && (e += "And keywords can be added or not in the title if needed:", o.value.forEach(((t, a) => {
                            e += a > 0 ? ", `" + t.trim() + "`" : "`" + t.trim() + "`"
                        })), e += ";\r\n"), e += "For each answer you give me, please use `^^^^^` symbols before the first word and `^^^^^` symbols after the last word.\r\n", e += "The language of the answer should be " + s + ";";
                        let t = null, i = null;
                        $({question: e}).then((e => {
                            1e5 == e.errcode && "" != e.data.answer ? (n.value = !1, r.value = !0) : 1e5 == e.errcode && "" == e.data.answer ? (t = setTimeout((() => {
                                clearInterval(i), n.value = !1, r.value = !0
                            }), 18e4), i = setInterval((() => {
                                J({task_id: e.data.task_id}).then((e => {
                                    if (1e5 == e.errcode && ("" == e.data.task_id || "" != e.data.answer) && (clearTimeout(t), clearInterval(i), "" != e.data.answer)) {
                                        let t = e.data.answer.split("\n"), a = [];
                                        t.length >= 3 && (t.forEach((e => {
                                            if (a.length >= 3) return !1;
                                            e.length > 15 && -1 != e.indexOf("^") && (e = e.replaceAll("^", ""), 0 === e.indexOf("1.") ? e = e.replace("1.", "") : 0 === e.indexOf("2.") ? e = e.replace("2.", "") : 0 === e.indexOf("3.") && (e = e.replace("3.", "")), a.push(e))
                                        })), l.value = a, n.value = !1, r.value = !1)
                                    }
                                }))
                            }), 3e3)) : 100008 == e.errcode ? ((0, we.z8)({
                                message: "Your visit frequency is too high, please try again in 1 minute",
                                type: "error"
                            }), n.value = !1, r.value = !1) : (n.value = !1, r.value = !1)
                        }))
                    }, u = e => {
                        o.value = e
                    }, {toClipboard: p} = (0, ze.Z)(), h = async e => {
                        if (e) try {
                            await p(e), (0, we.z8)({message: "Copy succeeded.", type: "success"})
                        } catch (t) {
                            (0, we.z8)({message: "This browser does not support automatic copying", type: "warning"})
                        }
                    }, w = () => {
                        let t = {
                            keyword: o.value ? o.value.join(",") : "",
                            title: a.value || "",
                            suggest1: l.value[0] || "",
                            suggest2: l.value[1] || "",
                            suggest3: l.value[2] || ""
                        }, i = "cn" == e.state.language ? "name-zh" : "name-en", n = g.runtime.getURL(`icon/${i}.docx`);
                        Pe(t, n)
                    };
                    return {
                        title: a,
                        titleArr: l,
                        titleLoading: n,
                        langWord: t,
                        isDataFail: r,
                        getIconUrl: c,
                        GenerateTitle: d,
                        onGetData: u,
                        copyPath: h,
                        onExport: w
                    }
                }
            };
            const Ge = (0, se.Z)(Ue, [["render", T], ["__scopeId", "data-v-20791808"]]);
            var je = Ge;
            const Ae = {class: "zf-chatGPT"}, Ie = {class: "flex_box margin-box"}, Ve = {class: "zf-title-font"},
                Le = {class: "zf-title-tips"}, He = ["src"], Ke = {class: "flex_box margin-box"},
                Oe = {class: "zf-title-font"}, Fe = {class: "zf-title-tips"}, Be = ["src"],
                Ee = {class: "flex_box margin-box"}, Ne = {class: "zf-title-font"}, Re = {class: "zf-title-tips"},
                Me = ["src"], Ze = {class: "flex_box margin-box", style: {"justify-content": "space-between"}},
                qe = {class: "zf-title-font"}, Ye = {class: "zf-title-tips"}, $e = ["src"],
                Je = {class: "font-color-blue"}, Qe = {class: "wrapper"}, Xe = {class: "click-box tags-margin"},
                et = {class: "flex_box btn-describe"}, tt = {class: "describe-messge"},
                at = {key: 0, class: "dataFail"}, lt = {key: 1, class: "suggest"}, it = {key: 0, class: "dataFail"},
                ot = {key: 1, class: "suggest"}, nt = {key: 0, class: "dataFail"}, rt = {key: 1, class: "suggest"},
                st = {class: "flex_box name-btn"};

            function ct(e, t, a, n, r, s) {
                const c = (0, i.up)("Keyword-Box"), d = (0, i.up)("el-switch"), u = (0, i.up)("el-input"),
                    p = (0, i.up)("Close"), g = (0, i.up)("el-icon"), m = (0, i.up)("el-tag"),
                    h = (0, i.up)("Draggable"), w = (0, i.up)("el-button"), f = (0, i.up)("CircleClose"),
                    y = (0, i.up)("el-tab-pane"), v = (0, i.up)("el-tabs"), b = (0, i.up)("DocumentCopy"),
                    k = (0, i.Q2)("loading");
                return (0, i.wg)(), (0, i.iD)("div", Ae, [(0, i.Wm)(c, {
                    onGetData: n.onGetData,
                    type: "describe"
                }, null, 8, ["onGetData"]), (0, i._)("div", Ie, [(0, i.Wm)(d, {
                    modelValue: n.valueSwitch[0],
                    "onUpdate:modelValue": t[0] || (t[0] = e => n.valueSwitch[0] = e)
                }, null, 8, ["modelValue"]), (0, i._)("span", Ve, (0, o.zw)(n.langWord.referTitle), 1), (0, i._)("span", Le, [(0, i._)("img", {
                    src: n.getIconUrl("tips"),
                    alt: "",
                    class: "zf-tips-icon"
                }, null, 8, He), (0, i.Uk)(" " + (0, o.zw)(n.langWord.referTitleTip), 1)])]), (0, i.Wm)(u, {
                    type: "textarea",
                    autosize: {minRows: 2, maxRows: 8},
                    modelValue: n.textarea[0],
                    "onUpdate:modelValue": t[1] || (t[1] = e => n.textarea[0] = e)
                }, null, 8, ["modelValue"]), (0, i._)("div", Ke, [(0, i.Wm)(d, {
                    modelValue: n.valueSwitch[1],
                    "onUpdate:modelValue": t[2] || (t[2] = e => n.valueSwitch[1] = e)
                }, null, 8, ["modelValue"]), (0, i._)("span", Oe, (0, o.zw)(n.langWord.referDetails), 1), (0, i._)("span", Fe, [(0, i._)("img", {
                    src: n.getIconUrl("tips"),
                    alt: "",
                    class: "zf-tips-icon"
                }, null, 8, Be), (0, i.Uk)(" " + (0, o.zw)(n.langWord.referDetailsTip), 1)])]), (0, i.Wm)(u, {
                    type: "textarea",
                    autosize: {minRows: 2, maxRows: 8},
                    modelValue: n.textarea[1],
                    "onUpdate:modelValue": t[3] || (t[3] = e => n.textarea[1] = e)
                }, null, 8, ["modelValue"]), (0, i._)("div", Ee, [(0, i.Wm)(d, {
                    modelValue: n.valueSwitch[2],
                    "onUpdate:modelValue": t[4] || (t[4] = e => n.valueSwitch[2] = e)
                }, null, 8, ["modelValue"]), (0, i._)("span", Ne, (0, o.zw)(n.langWord.referDescription), 1), (0, i._)("span", Re, [(0, i._)("img", {
                    src: n.getIconUrl("tips"),
                    alt: "",
                    class: "zf-tips-icon"
                }, null, 8, Me), (0, i.Uk)(" " + (0, o.zw)(n.langWord.referDescriptionTip), 1)])]), (0, i.Wm)(u, {
                    type: "textarea",
                    autosize: {minRows: 2, maxRows: 8},
                    modelValue: n.textarea[2],
                    "onUpdate:modelValue": t[5] || (t[5] = e => n.textarea[2] = e)
                }, null, 8, ["modelValue"]), (0, i._)("div", Ze, [(0, i._)("div", null, [(0, i.Wm)(d, {
                    modelValue: n.valueSwitch[3],
                    "onUpdate:modelValue": t[6] || (t[6] = e => n.valueSwitch[3] = e)
                }, null, 8, ["modelValue"]), (0, i._)("span", qe, (0, o.zw)(n.langWord.referSplit), 1), (0, i._)("span", Ye, [(0, i._)("img", {
                    src: n.getIconUrl("tips"),
                    alt: "",
                    class: "zf-tips-icon"
                }, null, 8, $e), (0, i.Uk)(" " + (0, o.zw)(n.langWord.referSplitTip), 1)])]), (0, i._)("div", {
                    class: "zf-clear-icon click-box",
                    onClick: t[7] || (t[7] = e => n.onClean())
                }, [(0, i.Wm)(g, {size: "12", color: "#2390FF"}, {
                    default: (0, i.w5)((() => [(0, i.Wm)(p)])),
                    _: 1
                }), (0, i._)("span", Je, (0, o.zw)(n.langWord.clear), 1)])]), (0, i._)("div", Qe, [(0, i.Wm)(h, {
                    list: n.list,
                    animation: 100,
                    "item-key": "id",
                    forceFallback: !0,
                    "ghost-class": "ghost",
                    class: "tags_box"
                }, {
                    item: (0, i.w5)((({
                                          index: a,
                                          element: l
                                      }) => [(0, i._)("div", Xe, [((0, i.wg)(), (0, i.j4)(m, {
                        class: "mx-1",
                        key: a,
                        closable: "true",
                        type: "info",
                        onClose: t[8] || (t[8] = t => n.handleClose(e.tag))
                    }, {default: (0, i.w5)((() => [(0, i.Uk)((0, o.zw)(l), 1)])), _: 2}, 1024))])])), _: 1
                }, 8, ["list"]), n.inputVisible ? ((0, i.wg)(), (0, i.j4)(u, {
                    key: 0,
                    ref: "InputRef",
                    modelValue: n.inputValue,
                    "onUpdate:modelValue": t[9] || (t[9] = e => n.inputValue = e),
                    size: "small",
                    onKeyup: t[10] || (t[10] = (0, l.D2)((e => n.handleInputConfirm()), ["enter"])),
                    onBlur: t[11] || (t[11] = e => n.handleInputConfirm())
                }, null, 8, ["modelValue"])) : ((0, i.wg)(), (0, i.j4)(w, {
                    key: 1,
                    class: "button-new-tag ml-1",
                    size: "small",
                    onClick: t[12] || (t[12] = e => n.showInput())
                }, {
                    default: (0, i.w5)((() => [(0, i.Uk)(" + " + (0, o.zw)(n.langWord.add), 1)])),
                    _: 1
                }))]), (0, i._)("div", et, [(0, i.Wm)(w, {
                    loading: n.describeLoading,
                    type: "primary",
                    onClick: n.onDescriptionGenerator
                }, {
                    default: (0, i.w5)((() => [(0, i.Uk)((0, o.zw)(n.langWord.descriptionGenerator), 1)])),
                    _: 1
                }, 8, ["loading", "onClick"])]), (0, i._)("div", tt, [(0, i.Wm)(v, {
                    modelValue: n.activeName,
                    "onUpdate:modelValue": t[13] || (t[13] = e => n.activeName = e),
                    onTabClick: n.handleClick,
                    class: "demo-tabs"
                }, {
                    default: (0, i.w5)((() => [(0, i.Wm)(y, {
                        label: n.langWord.descriptionSuggestion1,
                        name: "0",
                        disabled: !n.describe[0] && !n.isDataFail
                    }, {
                        default: (0, i.w5)((() => [!n.describe[0] && n.isDataFail ? ((0, i.wg)(), (0, i.iD)("div", at, [(0, i.Wm)(g, {color: "#969696"}, {
                            default: (0, i.w5)((() => [(0, i.Wm)(f)])),
                            _: 1
                        }), (0, i.Uk)((0, o.zw)(n.langWord.creatingFail), 1)])) : (0, i.wy)(((0, i.wg)(), (0, i.iD)("div", lt, [(0, i.Uk)((0, o.zw)(n.describe[0]), 1)])), [[k, n.describeLoading]])])),
                        _: 1
                    }, 8, ["label", "disabled"]), (0, i.Wm)(y, {
                        label: n.langWord.descriptionSuggestion2,
                        name: "1",
                        disabled: !n.describe[1] && !n.isDataFail
                    }, {
                        default: (0, i.w5)((() => [!n.describe[1] && n.isDataFail ? ((0, i.wg)(), (0, i.iD)("div", it, [(0, i.Wm)(g, {color: "#969696"}, {
                            default: (0, i.w5)((() => [(0, i.Wm)(f)])),
                            _: 1
                        }), (0, i.Uk)((0, o.zw)(n.langWord.creatingFail), 1)])) : (0, i.wy)(((0, i.wg)(), (0, i.iD)("div", ot, [(0, i.Uk)((0, o.zw)(n.describe[1]), 1)])), [[k, n.describeLoading]])])),
                        _: 1
                    }, 8, ["label", "disabled"]), (0, i.Wm)(y, {
                        label: n.langWord.descriptionSuggestion3,
                        name: "2",
                        disabled: !n.describe[2] && !n.isDataFail
                    }, {
                        default: (0, i.w5)((() => [!n.describe[2] && n.isDataFail ? ((0, i.wg)(), (0, i.iD)("div", nt, [(0, i.Wm)(g, {color: "#969696"}, {
                            default: (0, i.w5)((() => [(0, i.Wm)(f)])),
                            _: 1
                        }), (0, i.Uk)((0, o.zw)(n.langWord.creatingFail), 1)])) : (0, i.wy)(((0, i.wg)(), (0, i.iD)("div", rt, [(0, i.Uk)((0, o.zw)(n.describe[2]), 1)])), [[k, n.describeLoading]])])),
                        _: 1
                    }, 8, ["label", "disabled"])])), _: 1
                }, 8, ["modelValue", "onTabClick"]), (0, i._)("div", {
                    class: (0, o.C_)(n.describe[Number(n.activeName)] ? "font-color-blue click-box copy" : "font-color-gray click-box copy"),
                    onClick: t[14] || (t[14] = e => n.copyPath(n.describe[Number(n.activeName)])),
                    ref: "copyBtn"
                }, [(0, i.Wm)(g, {
                    size: "12",
                    color: n.describe[Number(n.activeName)] ? "#2390FF" : "#969696"
                }, {
                    default: (0, i.w5)((() => [(0, i.Wm)(b)])),
                    _: 1
                }, 8, ["color"]), (0, i.Uk)(" " + (0, o.zw)(n.langWord.copy), 1)], 2)]), (0, i._)("div", st, [(0, i.Wm)(w, {
                    onClick: t[15] || (t[15] = e => n.copyPath(n.describe.join(","))),
                    ref: "copyBtn",
                    style: {"margin-right": "10px"},
                    disabled: !n.describe[0] && !n.describe[1] && !n.describe[2]
                }, {
                    default: (0, i.w5)((() => [(0, i.Uk)((0, o.zw)(n.langWord.copyAll), 1)])),
                    _: 1
                }, 8, ["disabled"]), (0, i.Wm)(w, {
                    onClick: n.onExport,
                    disabled: !n.describe[0] && !n.describe[1] && !n.describe[2]
                }, {
                    default: (0, i.w5)((() => [(0, i.Uk)((0, o.zw)(n.langWord.exportAll), 1)])),
                    _: 1
                }, 8, ["onClick", "disabled"])])])
            }

            var dt = a(70648), ut = a.n(dt), pt = {
                name: "describe-page", components: {Draggable: ut(), "Keyword-Box": ke}, setup() {
                    const e = (0, m.iH)(""), t = (0, m.iH)(!1), a = (0, m.iH)(""), l = (0, m.iH)([!0, !1, !1, !0]),
                        o = (0, m.iH)("0"), n = (0, m.iH)(["", "", "", ""]), r = (0, m.iH)(["", "", ""]),
                        s = (0, m.iH)(["Product Description", "Highlights", "Benefits", "Usage", "Quality Assurance", "Customer Reviews", "Call-To-Action"]),
                        c = (0, m.iH)([]), d = (0, ue.oR)(), u = (0, i.Fl)((() => pe[d.state.language])),
                        p = (0, m.iH)(!1), h = (0, m.iH)(!1);
                    let w = "English";
                    (0, i.bv)((() => {
                        try {
                            fe().then((e => {
                                f(e)
                            }))
                        } catch (e) {
                            let t = fe();
                            f(t)
                        }
                    }));
                    const f = e => {
                        let t = e.highStr[0] ? e.highStr : "";
                        t || (t = e.details ? e.details : "");
                        let a = [], l = "";
                        if (e.describe && e.describe.length) try {
                            e.describe.forEach((e => {
                                a.push(e.innerText)
                            })), l = a.length ? a.join("\n") : ""
                        } catch (i) {
                            l = e.describe
                        } else l = "";
                        n.value = [e.title ? e.title.replace("Title Generator", "") : "", t || "", l.replace("Title Generator", "") || ""], w = e.language
                    }, y = e => g.runtime.getURL(`icon/${e}.svg`), v = () => {
                        console.log("")
                    }, b = e => {
                        s.value.splice(s.value.indexOf(e), 1)
                    }, k = () => {
                        t.value = !0, (0, i.Y3)((() => {
                            a.value.input.focus()
                        }))
                    }, z = () => {
                        e.value && s.value.push(e.value), t.value = !1, e.value = ""
                    };
                    let T = 0;
                    const _ = () => {
                        if (T >= 3) return T = 0, !1;
                        0 == T && (h.value = !0, p.value = !1, r.value = ["", "", ""]);
                        let e = {
                            tags: c.value.length ? c.value : [],
                            title: l.value[0] && n.value[0] ? n.value[0] : "",
                            detail: l.value[1] && n.value[1] ? n.value[1] : "",
                            description: l.value[2] && n.value[2] ? n.value[2] : "",
                            section: l.value[3] && s.value.length ? s.value : []
                        };
                        e.tags.length || e.title || e.description || e.section.length || e.detail || ((0, we.z8)({
                            message: "Please select at least one data",
                            type: "warning"
                        }), h.value = !1);
                        let t = "Please generate 1 clear and detailed product descriptions.\r\n";
                        if (e.title && (t += "And with old title for reference: `" + e.title.trim() + "`;\r\n"), e.detail) {
                            let a = e.detail.replaceAll("\n", "&&&");
                            a = a.split("&&&");
                            let l = "";
                            a.forEach(((e, t) => {
                                l += t > 0 ? ", `" + e.trim() + "`" : "`" + e.trim() + "`"
                            })), l && (t += "And highlights can be added or not in the title if needed:" + l + ";\r\n")
                        }
                        e.tags.length > 0 && (t += "And keywords can be added or not in the title if needed:", e.tags.forEach(((e, a) => {
                            t += a > 0 ? ", `" + e.trim() + "`" : "`" + e.trim() + "`"
                        })), t += ";\r\n"), e.description && (t += "And with old descriptions for reference:`" + e.description.trim() + "`;\r\n"), e.section.length > 0 && (t += "And fill details in these sections:", e.section.forEach(((e, a) => {
                            t += a > 0 ? ", `" + e.trim() + "`" : "`" + e.trim() + "`"
                        })), t += ";\r\n"), t += "The language of the answer should be " + w + ";";
                        let a = null, i = null;
                        $({question: t}).then((e => {
                            1e5 == e.errcode && "" != e.data.answer ? h.value = !1 : 1e5 == e.errcode && "" == e.data.answer ? (a = setTimeout((() => {
                                clearInterval(i), h.value = !1, p.value = !0
                            }), 18e4), i = setInterval((() => {
                                J({task_id: e.data.task_id}).then((e => {
                                    1e5 != e.errcode || "" != e.data.task_id && "" == e.data.answer || (clearTimeout(a), clearInterval(i), r.value[T] = e.data.answer ? e.data.answer : "", h.value = !1, p.value = !1, T++, _(T))
                                }))
                            }), 3e3)) : 100008 == e.errcode ? ((0, we.z8)({
                                message: "Your visit frequency is too high, please try again in 1 minute",
                                type: "error"
                            }), h.value = !1, p.value = !0) : (h.value = !1, p.value = !0)
                        }))
                    }, x = () => {
                        s.value = []
                    }, W = e => {
                        c.value = e, chrome.storage.local.set({keywordArr: c.value}, (function () {
                        }))
                    }, C = () => {
                        let e = {
                                keyword: c.value ? c.value.join(",") : "",
                                title: l.value[0] && n.value[0] ? n.value[0] : "",
                                highlights: l.value[1] && n.value[1] ? n.value[1] : "",
                                details: l.value[2] && n.value[2] ? n.value[2] : "",
                                dragList: l.value[3] && s.value ? s.value.join(",") : "",
                                suggest1: r.value ? r.value[0] : "",
                                suggest2: r.value ? r.value[1] : "",
                                suggest3: r.value ? r.value[2] : ""
                            }, t = "cn" == d.state.language ? "describe-zh" : "describe-en",
                            a = g.runtime.getURL(`icon/${t}.docx`);
                        Pe(e, a)
                    }, {toClipboard: D} = (0, ze.Z)(), S = async e => {
                        if (e) try {
                            await D(e), (0, we.z8)({message: "Copy succeeded.", type: "success"})
                        } catch (t) {
                            console.error(t), (0, we.z8)({
                                message: "This browser does not support automatic copying",
                                type: "warning"
                            })
                        }
                    };
                    return {
                        inputValue: e,
                        inputVisible: t,
                        InputRef: a,
                        valueSwitch: l,
                        textarea: n,
                        activeName: o,
                        describe: r,
                        list: s,
                        keywordArr: c,
                        langWord: u,
                        isDataFail: p,
                        describeLoading: h,
                        onClean: x,
                        getIconUrl: y,
                        handleClick: v,
                        handleClose: b,
                        handleInputConfirm: z,
                        showInput: k,
                        onGetData: W,
                        onExport: C,
                        onDescriptionGenerator: _,
                        copyPath: S
                    }
                }
            };
            const gt = (0, se.Z)(pt, [["render", ct], ["__scopeId", "data-v-00281d30"]]);
            var mt = gt, ht = {
                props: {}, components: {NamePage: je, DescribePage: mt}, setup() {
                    const e = (0, ue.oR)(), t = (0, i.Fl)((() => pe[e.state.language])), a = (0, m.iH)(!1),
                        l = (0, m.iH)("name"), o = g.runtime.getURL("icon/icon16.png"), n = (0, m.iH)(""),
                        r = (0, m.iH)(!1), s = (0, m.iH)(!1), c = (0, m.iH)(""), d = window.location.host,
                        u = location.pathname;
                    (0, i.bv)((() => {
                        if ("chat.openai.com" != window.location.host) try {
                            fe().then((e => {
                                h(e)
                            }))
                        } catch (e) {
                            let t = fe();
                            h(t)
                        }
                    }));
                    const p = () => {
                        a.value = !1
                    }, h = e => {
                        e.titleEnter && (r.value = !0, (0, i.Y3)((() => {
                            e.titleEnter && e.titleEnter.appendChild(document.getElementById(n.value + "_zf-gpt-title"))
                        }))), e.describeEnter && (s.value = !0, (0, i.Y3)((() => {
                            e.describeEnter && e.describeEnter.appendChild(document.getElementById(n.value + "_zf-gpt-description"))
                        }))), n.value = e.chromeGPT, c.value = e.chromeGPTName
                    }, w = e => g.runtime.getURL(`icon/${e}.png`), f = () => {
                        console.log("")
                    }, y = () => {
                        a.value = !0
                    }, v = () => {
                        a.value = !0, l.value = "name"
                    }, b = () => {
                        a.value = !0, l.value = "describe"
                    }, k = () => {
                        chrome.runtime.sendMessage({type: "loginChatGPT"})
                    }, z = () => {
                        let e = document.querySelector(".chat-gpt-hint");
                        e && e.remove()
                    }, T = () => {
                        chrome.runtime.sendMessage({type: "backToSearch"})
                    };
                    return g.runtime.onMessage.addListener((function (e) {
                        Object.prototype.hasOwnProperty.call(e, "popup_status") && !0 === e.popup_status && (a.value = !0)
                    })), {
                        icon: o,
                        drawer: a,
                        activeName: l,
                        langWord: t,
                        chromeGPT: n,
                        isTitle: r,
                        isDescription: s,
                        locationHost: d,
                        locationPathName: u,
                        chromeGPTName: c,
                        handleClick: f,
                        getIconUrl: w,
                        onDrawer: y,
                        onTitle: v,
                        onDescription: b,
                        loginChatGPT: k,
                        closeTips: z,
                        backToSearch: T,
                        closeSome: p
                    }
                }
            };
            const wt = (0, se.Z)(ht, [["render", p], ["__scopeId", "data-v-3d9cee59"]]);
            var ft = wt, yt = (0, ue.MT)({
                state: {language: "en", isLogin: !1, current_url: ""},
                mutations: {
                    handleChangeLan(e, t) {
                        e.language = t
                    }, handleOriginArr(e, t) {
                        e.language = t
                    }, handleLogin(e, t) {
                        e.isLogin = t
                    }, handleCurrentUrl(e, t) {
                        e.current_url = t
                    }
                },
                actions: {},
                modules: {}
            }), vt = a(71698), bt = a(10230);
            a(87538);
            let kt = window.location.href;

            function zt() {
                document.querySelector("#ChatGPT-Walmart") && document.querySelector("#ChatGPT-Walmart").remove();
                const e = document.createElement("div");
                e.id = "ChatGPT-Walmart", document.body.appendChild(e);
                const t = (0, l.ri)(ft);
                for (const [a, l] of Object.entries(bt)) t.component(a, l);
                t.use(yt).use(vt.Z, {zIndex: 1000021}).mount("#ChatGPT-Walmart")
            }

            document.addEventListener("DOMNodeInserted", (function () {
                var e = window.location.href.toString();
                e.match("walmart.com\\/ip") && e != kt && (yt.commit("handleCurrentUrl", e), kt = e, window.setTimeout((function () {
                    try {
                        ye().then((e => {
                            e && zt()
                        }))
                    } catch (e) {
                        let t = ye();
                        t && zt()
                    }
                }), 2e3))
            })), "zh-cn" == (navigator.language || navigator.browserLanguage).toLowerCase() && yt.commit("handleChangeLan", "cn"), document.addEventListener("DOMContentLoaded", (function () {
                try {
                    ye().then((e => {
                        e && zt()
                    }))
                } catch (e) {
                    let t = ye();
                    t && zt()
                }
            }))
        }
    }, t = {};

    function a(l) {
        var i = t[l];
        if (void 0 !== i) return i.exports;
        var o = t[l] = {exports: {}};
        return e[l].call(o.exports, o, o.exports, a), o.exports
    }

    a.m = e, function () {
        var e = [];
        a.O = function (t, l, i, o) {
            if (!l) {
                var n = 1 / 0;
                for (d = 0; d < e.length; d++) {
                    l = e[d][0], i = e[d][1], o = e[d][2];
                    for (var r = !0, s = 0; s < l.length; s++) (!1 & o || n >= o) && Object.keys(a.O).every((function (e) {
                        return a.O[e](l[s])
                    })) ? l.splice(s--, 1) : (r = !1, o < n && (n = o));
                    if (r) {
                        e.splice(d--, 1);
                        var c = i();
                        void 0 !== c && (t = c)
                    }
                }
                return t
            }
            o = o || 0;
            for (var d = e.length; d > 0 && e[d - 1][2] > o; d--) e[d] = e[d - 1];
            e[d] = [l, i, o]
        }
    }(), function () {
        a.n = function (e) {
            var t = e && e.__esModule ? function () {
                return e["default"]
            } : function () {
                return e
            };
            return a.d(t, {a: t}), t
        }
    }(), function () {
        a.d = function (e, t) {
            for (var l in t) a.o(t, l) && !a.o(e, l) && Object.defineProperty(e, l, {enumerable: !0, get: t[l]})
        }
    }(), function () {
        a.g = function () {
            if ("object" === typeof globalThis) return globalThis;
            try {
                return this || new Function("return this")()
            } catch (e) {
                if ("object" === typeof window) return window
            }
        }()
    }(), function () {
        a.o = function (e, t) {
            return Object.prototype.hasOwnProperty.call(e, t)
        }
    }(), function () {
        a.r = function (e) {
            "undefined" !== typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {value: "Module"}), Object.defineProperty(e, "__esModule", {value: !0})
        }
    }(), function () {
        a.j = 563
    }(), function () {
        var e = {563: 0};
        a.O.j = function (t) {
            return 0 === e[t]
        };
        var t = function (t, l) {
            var i, o, n = l[0], r = l[1], s = l[2], c = 0;
            if (n.some((function (t) {
                return 0 !== e[t]
            }))) {
                for (i in r) a.o(r, i) && (a.m[i] = r[i]);
                if (s) var d = s(a)
            }
            for (t && t(l); c < n.length; c++) o = n[c], a.o(e, o) && e[o] && e[o][0](), e[o] = 0;
            return a.O(d)
        }, l = self["webpackChunkchrome_plugin"] = self["webpackChunkchrome_plugin"] || [];
        l.forEach(t.bind(null, 0)), l.push = t.bind(null, l.push.bind(l))
    }();
    var l = a.O(void 0, [998], (function () {
        return a(45017)
    }));
    l = a.O(l)
})();